﻿
@model Fmis21_10.Models.Match
@{
    ViewBag.Title = "UpdateScore";
    Layout = "~/Views/Layout.cshtml";
}

<h2>UpdateScore</h2>
@using (Html.BeginForm())
{
    <table>
        <tr>
            <th>Home Team</th>
            <th colspan="2">Score</th>
            <th>Away Team</th>
        </tr>
        <tr>
            <td>@Html.TextBoxFor(m => m.HomeTeam, new { @readonly = "readonly"})</td>
            <td>@Html.TextBoxFor(m => m.ScoreHomeTeam)</td>
            <td>@Html.TextBoxFor(m => m.ScoreAwayTeam)</td>
            <td>@Html.TextBoxFor(m => m.AwayTeam, new { @readonly = "readonly"}) </td>
        </tr>


    </table>
    <input name="update" type="submit" value="update" />
}
    